<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div id="nva">
  			<ul>
  				<li > <span><s:a href="../PatbasicSearch/Patbasic-Lord.do">参加者検索</s:a></span></li>
  				<s:if test='projectId == \"P210\"'>
  				<li class="check"> <span>参加者情報</span></li>
  				</s:if>
  				<s:else>
  				   	<s:url id="information" action="patbasic-information" namespace="/PatbasicInformation">
  				   		<s:param name="cid" >${param.wellid_nva}</s:param>
  				   	</s:url>
  				<li ><span><s:a href="%{information}" >参加者情報</s:a></span></li>
  				</s:else>
  				
  				<s:if test='projectId == \"P221\"'>
  				<li class="check"> <span>Well-ID連携</span></li>
  				</s:if>
  				<s:else>
  				   	<s:url id="wellIdCoo" action="patbasic-wellidcooperation" namespace="/PatbasicWellIdCooperation">
  				   		<s:param name="cid" >${param.wellid_nva}</s:param>
  				   	</s:url>
  				<li ><span>
  				    <s:if test='@jp.co.sn.system.interceptor.AuthInterceptor@validateAuth(@jp.co.sn.zousin.common.access.resource.Resource@P01MOD) == \"1\"'>
  				    	<s:a href="%{wellIdCoo}" >Well-ID連携</s:a>
  				    </s:if>
  				    <s:else>
  				    	Well-ID連携
  				    </s:else>
  				</span></li>
  				</s:else>
  				
  				<s:if test='projectId == \"P222\"'>
  				<li class="check"> <span>参加イベント</span></li>
  				</s:if>
  				<s:else>
  				   	<s:url id="event" action="Patbasic-Event" namespace="/PatbasicEvent">
  				   		<s:param name="wellid" >${param.wellid_nva}</s:param>
  				   	</s:url>
  				<li ><span>	
  					<s:if test='@jp.co.sn.system.interceptor.AuthInterceptor@validateAuth(@jp.co.sn.zousin.common.access.resource.Resource@P01MOD) == \"1\"'>
  				    	<s:a href="%{event}" >参加イベント</s:a>
  				    </s:if>
  				    <s:else>
  				    	参加イベント
  				    </s:else>
  				</span></li>
  				</s:else>
  				
  				<s:if test='projectId == \"P230\"'>
  				<li class="check"> <span>コメント</span></li>
  				</s:if>
  				<s:else>
  				   	<s:url id="comment" action="patbasic-comment" namespace="/PatbasicComment">
  				   		<s:param name="wellid" >${param.wellid_nva}</s:param>
  				   	</s:url>
  				<li ><span>
  				
  					<s:if test='@jp.co.sn.system.interceptor.AuthInterceptor@validateAuth(@jp.co.sn.zousin.common.access.resource.Resource@P03DIS) == \"1\" 
  					            || @jp.co.sn.system.interceptor.AuthInterceptor@validateAuth(@jp.co.sn.zousin.common.access.resource.Resource@P02DIS) == \"1\"
  					            || @jp.co.sn.system.interceptor.AuthInterceptor@validateAuth(@jp.co.sn.zousin.common.access.resource.Resource@P04DIS) == \"1\"'>
  				    	<s:a href="%{comment}" >コメント</s:a>
  				    </s:if>
  				    <s:else>
  				    	コメント
  				    </s:else>
  					</span></li>
  				</s:else>
  				
  				<s:if test='projectId == \"P240\"'>
  				<li class="check"> <span>伝達情報</span></li>
  				</s:if>
  				<s:else>
  				   	<s:url id="transmissionInf" action="Patbasic-TransmissionInfo" namespace="/PatbasicTransmissionInfo">
  				   		<s:param name="cid" >${param.wellid_nva}</s:param>
  				   	</s:url>
  				<li ><span>
  					
  					<s:if test='@jp.co.sn.system.interceptor.AuthInterceptor@validateAuth(@jp.co.sn.zousin.common.access.resource.Resource@P05DIS) == \"1\"'>
  				    	<s:a href="%{transmissionInf}" >伝達情報</s:a>
  				    </s:if>
  				    <s:else>
  				    	伝達情報
  				    </s:else>
  					</span></li>
  				</s:else>
  			</ul>
  		</div>
  		
 	<div class="content">
		  <s:form id="patbasicListForm" theme="simple" cssStyle="display: inline;">
		     <s:hidden name="patbasic.wellid" id="patbasic_wellid" ></s:hidden>
		      <input type="hidden" value="update" name="saveFlag"></input>
			<table class="input_table"  cellspacing="0" >
               <tr>
			     <td width="98" align="center">Well-ID</td>
				 <td width="92"><s:property  value="patbasic.wellid"/> </td>
				 <td width="106">生年月日</td>
				 <td width="3"></td>
				 <td width="202"><s:property value="@jp.co.sn.system.common.constants.Fomart@YMD_HXX(patbasic.birthday)" /> </td>
				 <td width="59">年齢</td>
				 <td width="167"><s:property value="@jp.co.sn.system.common.constants.Fomart@MOONAGEX(patbasic.birthday)" /></td>
				 <td width="148"></td>
			   </tr>
			   <tr>
			     <td align="center">かな</td>
				 <td colspan="4">
				    <s:property value="patbasic.kanalastname"/>
				    <s:property value="patbasic.kanafirstname"/>
				 </td>
				 <td></td>
				 <td></td>
				 <td><span class="red"><s:property value="@jp.co.sn.system.common.constants.Fomart@SNAMEX(patbasic.samenameflg)" /></span></td>
			   </tr>
			   <tr>
			     <td align="center">氏名</td>
				 <td colspan="4">
				    <s:property value="patbasic.kanjilastname"/>
				    <s:property value="patbasic.kanjifirstname"/>
				 </td>
				 <td>性別</td>
				 <td>
				  <s:property value="@jp.co.sn.system.common.constants.Fomart@PSEXX(patbasic.sex)" />
				</td>
				 <td ><span class="red"><s:property value="cpmflag"/></span></td>
			   </tr>
			</table>
		 </s:form>
	</div>

